package com.myapp.struts.modele;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author jackson
 */
public class EstAbsent {
    
    private Matiere matiere;
    private Etudiant etudiant;
    private int nbTotalAbsence;

    public EstAbsent() {
    }

    public EstAbsent(Matiere matiere, Etudiant etudiant, int nbTotalAbsence) {
        this.matiere = matiere;
        this.etudiant = etudiant;
        this.nbTotalAbsence = nbTotalAbsence;
    }

    public Matiere getMatiere() {
        return matiere;
    }

    public void setMatiere(Matiere matiere) {
        this.matiere = matiere;
    }

    public Etudiant getEtudiant() {
        return etudiant;
    }

    public void setEtudiant(Etudiant etudiant) {
        this.etudiant = etudiant;
    }

    public int getNbTotalAbsence() {
        return nbTotalAbsence;
    }

    public void setNbTotalAbsence(int nbTotalAbsence) {
        this.nbTotalAbsence = nbTotalAbsence;
    }

    @Override
    public String toString() {
        return "" + nbTotalAbsence;
    }
    
    
    
}
